Welcome Guest, you are in: Login
CTS Futures
Home
Pricing
Market Data
FAQ
Videos

T4 Desktop
User Guide
Scripting Guide
Release Notes

Mobile and Web
T4 Mobile for Android
T4 Mobile for iOS
T4 Mobile for Browser
T4 WebTrader

Admins
T4 Admin Guide
MiFID II/MiFIR

Developers
API 4.7 Guide
FIX API


MOV( <value>, <periods>, <MAType> )

Computes the moving average of the value over the specified number of periods using the specified moving average type.

Function Parameters
ParameterDescription
<value>The value to compute the moving average of.
<periods>The number of periods to compute the moving average over.
<MAType>The type of moving average to compute.

MAType can be specified as follows:

MAType
ParameterDescription
MAType.SMASimple moving average.
MAType.SMMASmoothed moving average.
MAType.EMAExponential moving average.
MAType.LWMALinear weighted moving average.
MAType.LSMALeast square moving average.
MAType.HMAHull moving average.
MAType.WILDERMAWells Wilder simple moving average.

Aliases

The following are aliases for the MOV function:

SMA( <value>, <periods>)

EMA( <value>, <periods>)

SMMA( <value>, <periods>)

LWMA( <value>, <periods>)

LSMA( <value>, <periods>)

HMA( <value>, <periods>)

WILDERMA( <value>, <periods>)



Back to the Scripting Function Reference

Trade how you want, where you want

support@ctsfutures.com (312) 939 0164

2 Pierce Pl, Suite 200, Itasca, IL 60143

© 2009-2023 Cunningham Trading Systems LLC All rights reserved.